package com.quanyan.ic.vendingMachine.model;

import java.io.Serializable;

/**
 * Created by zhuo.shi on 2017/7/26.
 * 售货机货道信息
 */
public class GridInfo implements Serializable {

    private String grid;             //货道XY坐标，第几行，第几列
    private Byte gridNumber;        //货道编号，对应售货机上电机编号
    private GoodsInfo goodsInfo;     //货道关联的商品信息
    private Byte inventory;       //当前库存
    private Integer capacity;        //此货道最大容量
    private Byte checkLevel;      //库存检测结果，0 正常 1 黄色告警 2 红色告警

    public String getGrid() {
        return grid;
    }

    public void setGrid(String grid) {
        this.grid = grid;
    }

    public Byte getGridNumber() {
        return gridNumber;
    }

    public void setGridNumber(Byte gridNumber) {
        this.gridNumber = gridNumber;
    }

    public GoodsInfo getGoodsInfo() {
        return goodsInfo;
    }

    public void setGoodsInfo(GoodsInfo goodsInfo) {
        this.goodsInfo = goodsInfo;
    }

    public Byte getInventory() {
        return inventory;
    }

    public void setInventory(Byte inventory) {
        this.inventory = inventory;
    }

    public Integer getCapacity() {
        return capacity;
    }

    public void setCapacity(Integer capacity) {
        this.capacity = capacity;
    }

    public Byte getCheckLevel() {
        return checkLevel;
    }

    public void setCheckLevel(Byte checkLevel) {
        this.checkLevel = checkLevel;
    }
}
